The Slider Component > FSlider.getTickFrequency() |
FSlider.getTickFrequency()
Availability
Flash Player 6.
Usage
mySlider_sld.getTickFrequency ()
Parameters
none
Returns
Returns the number of tick marks within the component.
Description
Returns the number of tick marks within the component. If SetToTick is set to false, then the tick marks will not be displayed within the component.
Example
The slider_setTickStyle.fla example file contains an example of using this method.
The following code sets the tick frequency and then traces it.
mySlider_sld.setTickFrequency(5); trace( "Tick Frequency: " + mySlider_sld.getTickFrequency() );//traces 5
See also